import { Layout } from '@/utils/routerHelper'

export const permission = [
  {
    path: '/permiss',
    component: Layout,
    redirect: '/permiss',
    name: 'permiss',
    meta: {
      title: '权限管理',
      //   icon: 'ant-design:dashboard-filled',
      alwaysShow: true
    },
    children: [
      {
        path: 'permiss',
        component: () => import('@/views/Permission/index.vue'),
        name: '',
        meta: {
          title: '用户管理',
          noCache: true,
          affix: true
        }
      },
      {
        path: 'role',
        component: () => import('@/views/Permission/Role.vue'),
        name: '',
        meta: {
          title: '角色管理',
          noCache: true,
          affix: true
        }
      }
    ]
  }
]
